package com.foodmarket.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class buyerOrders {

    private String foodName;
    private String storeName;
    private String phone;
    private int quantity;//购买数量
    private BigDecimal totalPrice;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date orderDate;//
}
